package com.aier.admin_new.service;

import java.util.List;

import com.baidu.yun.channel.model.BindInfo;

public interface IChannelClient {
	/**
	 * 获取用户绑定数据
	 * @param UserId
	 * @return
	 */
	public List<BindInfo> QueryBindList(String UserId);
	/**
	 * 推送单播消息(消息类型为透传，由开发方应用自己来解析消息内容)
	 * @param channelId
	 * @param UserId
	 * @param message
	 */
	public void PushUnicastMessage(Long channelId,String UserId,String title,String description,Integer type,Long uid);
	/**
	 * 向Android端设备推送单播消息
	 * @param channelId
	 * @param UserId
	 * @param message
	 */
	public void PushUnicastNotification(String DeviceType,Long channelId,String UserId,String title,String description,Integer type,Long uid);
	/**
	 * 推送单播消息(IOS APNS)
	 * @param UserId
	 * @param message
	 */
	public void PushUnicastIosNotification(String UserId,String title,String description,Integer type,Long uid);
	/**
	 * 推送分组消息
	 * @param tagName
	 * @param message
	 */
	public void PushTagMessage(String tagName,String title,String description,Integer type,Long uid);
	
	public void PushBroadcastMessage(String title,String description,Integer type,Long uid);
	public void BindVerify();
	public void FetchMessage(String userId);
	public void InitIosCert();
}
